Array.prototype.some2=function(fn,thisArg){
    if(typeof fn!=='function'){
        throw new TypeError(`${fn} is not function`)
    }
    

    for(let i=0;i<this.length;i++){
        if(this.hasOwnProperty(i)){
            if(fn.call(thisArg,this[i],i,this)){
                return true
            }
        }
    }
return false
   
}
let arr=[undefined]
let arr2= arr.some2(item=>item>3)
console.log(arr2)
